Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requests: Add ToggleSceneItemEnabled #1154

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

theca11
Copy link

@theca11 theca11 commented Jul 22, 2023

Description

Adds a new request called ToggleSceneItemEnabled which toggles the enable state of a scene item and returns the new state.

Motivation and Context

Closes #1153

How Has This Been Tested?

Tested OS(s): Windows 10 (22H2 19045)
New request tested with the help of obs-websocket-js lib:

  1. Fetch sceneItemId value with GetSceneItemId
  2. const {sceneItemEnabled} = obs.call('ToggleSceneItemEnabled', {sceneName: 'My scene', sceneItemId: 1234});

Types of changes

  • New request/event
  • Documentation change (a change to documentation pages)

Checklist:

  • I have read the Contributing Guidelines.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • My code is not on master or a release/* branch.
  • The code has been tested.
  • I have included updates to all appropriate documentation.

Adds a new request called `ToggleSceneItemEnabled` which toggles
the enable state of a scene item and returns the new state.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: Add ToggleSceneItemEnabled request
2 participants